FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
WORKDIR /app
EXPOSE 80

FROM base AS final
WORKDIR /app
COPY . .
ENTRYPOINT ["dotnet", "Batman.Web.Api.dll"]